import pandas as pd
import numpy as np

a = pd.Series([1,2,3,4])
c = pd.Series(np.arange(5))
b = pd.Series([1,2,3,4],index = ['a','b','c','d'])
print(a)
print(b)
print(c)
print(b[2])
d = b + 2
e = b + b
print(d)
print(e)
print(b['c'])
print(b[['a','c']])
print(b['a':'c'])
print(b.index)
print(b.values)
